<?

class render_json
{
	public static function action( action_controller $action )
	{
		response::set_header('Content-Type', 'text/plain; charset=utf-8');
		return json_encode($action->json);
	}
}